package imnu.packaging.oop;

/**
 * @author: lys
 * @类名: Student
 * @Title:
 * @date: 2020/7/15
 **/
public class Student {
    //属性私有化
    private int stuID;
    private String stuName;
    private boolean stuSex;

    public Student(){}

    public Student(int stuID,String stuName,boolean stuSex){
        this.stuID = stuID;
        this.stuName = stuName;
        this.stuSex = stuSex;
    }
    //共有的getter setter方法
    public int getStuID() {
        return stuID;
    }

    public void setStuID(int stuID) {
        this.stuID = stuID;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public boolean isStuSex() {
        return stuSex;
    }

    public void setStuSex(boolean stuSex) {
        this.stuSex = stuSex;
    }
}
